package ${packageName}.service;

import java.util.List;
import ${packageName}.entity.${ClassName};
import ${packageName}.param.${ClassName}Param;
<#if hasFuncImport>
import com.lam.common.components.easyexcel.imp.model.ImportWrapper;
import ${packageName}.entity.imp.${ClassName}Imp;
</#if>

/**
 * ${functionName}Service接口
 * 
 * @author ${author}
 * @date ${datetime}
 */
public interface ${ClassName}Service {

    /**
     * 查询${functionName}
     * 
     * @param ${pkColumn.javaField} ${functionName}ID
     * @return 单个对象
     */
    public ${ClassName} selectById(String ${pkColumn.javaField});

    /**
     * 查询${functionName}列表
     * 
     * @param param 
     * @return 列表集合
     */
    public List<${ClassName}> selectList(${ClassName}Param param);

    /**
     * 新增${functionName}
     * 
     * @param ${className} 
     * @return 
     */
    public int insert(${ClassName} ${className});

    /**
     * 修改${functionName}
     * 
     * @param ${className} 
     * @return 
     */
    public int update(${ClassName} ${className});

    /**
     * 删除${functionName}信息
     * 
     * @param id ID
     * @return 
     */
    public int deleteById(String id);
    
<#if hasFuncImport>
    /**
     * 导入${functionName}数据
     * @param wrapper ${functionName}数据包装对象
     */
    public void importData(ImportWrapper<${ClassName}Imp, ${ClassName}> wrapper);
</#if>

}
